package com.macro.mall.mapper;

import com.macro.mall.model.PmProdStockTemp;
import com.macro.mall.model.PmProdStockTempExample;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface PmProdStockTempMapper {
    long countByExample(PmProdStockTempExample example);

    int deleteByExample(PmProdStockTempExample example);

    int deleteByPrimaryKey(Long id);

    int insert(PmProdStockTemp record);

    int insertSelective(PmProdStockTemp record);

    List<PmProdStockTemp> selectByExample(PmProdStockTempExample example);

    PmProdStockTemp selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") PmProdStockTemp record, @Param("example") PmProdStockTempExample example);

    int updateByExample(@Param("record") PmProdStockTemp record, @Param("example") PmProdStockTempExample example);

    int updateByPrimaryKeySelective(PmProdStockTemp record);

    int updateByPrimaryKey(PmProdStockTemp record);
}